package chpt_04_02.factory.tv;

/**
 * @author Ping
 * @date 2023/3/16 8:33
 **/
public class TCLTV extends TV {
    @Override
    public void play() {
        System.out.println("HaierTV playing ") ;
    }
    public static TV getTCLTV() {
        return new TCLTV() ;
    }
    public static class TCLTVFactory implements TVFactory {

        @Override
        public TV produce() {
            return new TCLTV();
        }
    }
}
